<div class="pc">
  <div class="g-hd" style="background: url(/static/img/header_bg.png) no-repeat;background-size: cover;">
    <div class="hd-bottom">
      <div class="container" style="position: relative;">
        <a class="m-logo" href="/"><img src="/static/img/logo.png" alt=""></a>
        <div class="m-search ">
          <form id="searchform" name="searchform" action="/search/searchResultGJ.jsp" method="get" style="position: relative;">
            <button type="submit" class="search_btn bg-main"><span class="iconfont">&#xe618;</span></button>
            <input id="q" name="q" placeholder="请输入关键词" type="text" class="search_text inp">
            <input type="hidden" value="276" name="t_id">
            <input type="hidden" value="" name="site_id" style="width:0;">
          </form>
        </div>
        <div class="m-login">
          <!-- <a href="" target="_blank">后台登录</a>-->
        </div>
      </div>
    </div>
  </div>
  <div class=" g-nav  bg-main">
    <div class="container">
      <ul id="nav" class="nav clearfix ">
        <li class="nLi">
          <h3><a href="/">首页</a></h3>
        </li>
        #set($category_lisy=$InfoUtilData.getChildCategoryList("00000","$site_id"))
        #foreach( $r in $category_lisy)
        #set($tmpUrl="iList.jsp")
        #if($r.is_sub == false)
        <li class="nLi">
          #if($r.jump_url != "")
          <h3><a href="$r.jump_url">${r.cat_cname}</a></h3>
          #else
          <h3><a href="/info/${tmpUrl}?cat_id=${r.cat_id}">${r.cat_cname}</a></h3>
          #end
        </li>
        #elseif($r.is_sub == true)
        #set($tmpUrl="iIndex.jsp")
        <li class="nLi">
          #if($r.jump_url != "")
          <h3><a href="$r.jump_url">${r.cat_cname}</a></h3>
          #else
          <h3><a href="/info/${tmpUrl}?cat_id=${r.cat_id}">${r.cat_cname}</a></h3>
          #end
          <ul class="sub" style="display: none;">
            #set($category_lisy=$InfoUtilData.getChildCategoryList("${r.cat_id}","$site_id"))
            #foreach( $r in $category_lisy)
            #if($r.jump_url != "")
            <li><a href="$r.jump_url">${r.cat_cname}</a></li>
            #else
            #set($tmpUrl="iList.jsp")
            #if($r.is_sub == true)
            #set($tmpUrl="iIndex.jsp")
            #end
            <li><a href="/info/${tmpUrl}?cat_id=${r.cat_id}">${r.cat_cname}</a></li>
            #end
            #end
          </ul>
        </li>
        #end
  
        #end
  
      </ul>
  
    </div>
  </div>
</div>


<div class="sj">
  <div>
    <a class="m-logo" href="/"><img src="/static/img/logo.png" alt=""></a>
  </div>
  <nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example-navbar-collapse">
          <span class="sr-only">切换导航</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
      </div>
      <div class="collapse navbar-collapse" id="example-navbar-collapse">
        <ul class="nav navbar-nav">
          <li><a href="/">首页</a></li>
          #set($category_lisy=$InfoUtilData.getChildCategoryList("00000","$site_id"))
          #foreach( $r in $category_lisy)
          #set($tmpUrl="iList.jsp")
          #if($r.is_sub == false)
          <li>
            #if($r.jump_url != "")
          <li><a href="$r.jump_url">${r.cat_cname}</a></li>
          #else
          <li><a href="/info/${tmpUrl}?cat_id=${r.cat_id}">${r.cat_cname}</a></li>
          #end
          </li>
          #elseif($r.is_sub == true)
          #set($tmpUrl="iIndex.jsp")
          <li class="dropdown">
            #if($r.jump_url != "")
            <a href="$r.jump_url" class="dropdown-toggle" data-toggle="dropdown">
              ${r.cat_cname} <b class="caret"></b>
            </a>
            #else
            <a href="/info/${tmpUrl}?cat_id=${r.cat_id}" class="dropdown-toggle" data-toggle="dropdown">
              ${r.cat_cname} <b class="caret"></b>
            </a>
            #end
            <ul class="dropdown-menu">
              #set($category_lisy=$InfoUtilData.getChildCategoryList("${r.cat_id}","$site_id"))
              #foreach( $r in $category_lisy)
              #if($r.jump_url != "")
              <li><a href="$r.jump_url">${r.cat_cname}</a></li>
              #else
              #set($tmpUrl="iList.jsp")
              #if($r.is_sub == true)
              #set($tmpUrl="iIndex.jsp")
              #end
              <li><a href="/info/${tmpUrl}?cat_id=${r.cat_id}">${r.cat_cname}</a></li>
              #end
              #end
            </ul>
          </li>
          #end

          #end

        </ul>
      </div>
    </div>
  </nav>
</div>
<script>
  jQuery("#nav").slide({
    type: "menu",
    titCell: ".nLi",
    targetCell: ".sub",
    effect: "fade",
    delayTime: 300,
    triggerTime: 0,
    defaultPlay: false,
    returnDefault: true
  });
</script>